import request from '@/network'

export const queryPieRequest = async () => {
  const result = await request.get({
    url: '/dash/pie',
  })
  return result
}

export const queryBarRequest = async () => {
  const result = await request.get({
    url: '/dash/bar',
  })
  return result
}

export const querySystemRequest = async () => {
  const result = await request.get({
    url: '/dash/system',
  })
  return result
}

export const queryRecentDataRequest = async () => {
  const result = await request.get({
    url: '/dash/recent',
  })
  return result
}
